package com.cwd.arm.infrastructure.dao.impl;

import com.cwd.arm.infrastructure.dao.ReceiveRecordDao;
import com.cwd.arm.infrastructure.dao.base.DaoImpl;
import com.cwd.arm.infrastructure.mapper.ReceiveRecordMapper;
import com.cwd.arm.infrastructure.po.ReceiveRecordPo;
import com.cwd.arm.infrastructure.query.ReceiveRecordDaoQuery;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* Description:收款记录
* Created on 2021年11月16日
* @author  yan
*/
@Service
public class ReceiveRecordDaoImpl extends DaoImpl<ReceiveRecordMapper, ReceiveRecordPo> implements ReceiveRecordDao {

    @Override
    public List<ReceiveRecordPo> selectByQuery(ReceiveRecordDaoQuery daoQuery) {
        List<ReceiveRecordPo> poList = baseMapper.selectByQuery(daoQuery);
        setUserInfo(poList);
        return poList;
    }

}
